home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / AudioTimeScaleLib 1.1 / InTimeProLib.h < prev   
Text File  |  1996-05-28  |  1KB  |  40 lines

  1. /*
  2.  
  3.     Project                    InTimePro 
  4.     Version                     1.1.0
  5.     Author                    Stephan M. Sprenger
  6.     Company                    PROSONIQ PRODUCTS SOFTWARE GmbH
  7.     Country                    Germany
  8.     Type                    Header File
  9.     Last changed            28.05.96, 22:39
  10.     Bugs                    Q_AUTO is not supported in this release
  11.     Tabsize                    4
  12.  
  13. */
  14.  
  15.  
  16. /* defines for InTimePro routines */
  17.                         
  18. #define ITPINIT            0        /* first call to InTimePro() initializes static variables and LUTables */
  19. #define ITPSTEP            1        /* estimates location of next segment that is of interest */ 
  20. #define ITPPROCESS        2        /* analyzes and derives reconstruction parameters from the audio material */
  21. #define ITPFLUSH        3        /* generates and composes the processed output signal */
  22.  
  23. #define TIMEBASE        0        /* time scaling */
  24. #define PITCH            1        /* pitch scaling */
  25.  
  26. #define Q_POOR            0        /* lowest quality - fastest processing */
  27. #define Q_BETTER        1        /* better quality - slightly slower processing */
  28. #define Q_GOOD            2        /* default quality - optimum trade-off */
  29. #define Q_EXCELL        3        /* highest quality - quite slow */
  30. #define Q_AUTO            4        /* sets quality according to the audio material (not supported in 1.0.0) */
  31.  
  32. #define ILEN             1024    /* basic block size for all InTimePro read and write operations */
  33.  
  34.  
  35. /* function prototype */
  36.  
  37. long InTimePro(short mode, long *iodata, long *writeFrames, long startFrame, float percent, \
  38.         short scale, short quality, short adjust);
  39.  
  40.